import request from '@/utils/request'
// 管理员主页
export function releaseDeal(releaseDto) {
    return request({
        url: '/trade/release/releaseDeal',
        method: 'post',
        data: releaseDto
    })
}

export function matrixToBlock(matrix) {
    return request({
        url: '/blockchain/matrixToBlock',
        method: 'post',
        data: matrix
    })
}

export function getDownLoadFile() {
    return request({
        url: "/info/data/getDownLoadFile",
        method: "get",
        responseType: "blob", //必须要填写
    })
}